// Package distribution
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package distribution

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询分销记录列表
type ListReq struct {
	g.Meta `path:"/distribution/list" method:"get" tags:"分销记录" summary:"获取分销记录列表"`
	sysin.DistributionListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.DistributionListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出分销记录列表
type ExportReq struct {
	g.Meta `path:"/distribution/export" method:"get" tags:"分销记录" summary:"导出分销记录列表"`
	sysin.DistributionListInp
}

type ExportRes struct{}

// ViewReq 获取分销记录指定信息
type ViewReq struct {
	g.Meta `path:"/distribution/view" method:"get" tags:"分销记录" summary:"获取分销记录指定信息"`
	sysin.DistributionViewInp
}

type ViewRes struct {
	*sysin.DistributionViewModel
}

// EditReq 修改/新增分销记录
type EditReq struct {
	g.Meta `path:"/distribution/edit" method:"post" tags:"分销记录" summary:"修改/新增分销记录"`
	sysin.DistributionEditInp
}

type EditRes struct{}

// DeleteReq 删除分销记录
type DeleteReq struct {
	g.Meta `path:"/distribution/delete" method:"post" tags:"分销记录" summary:"删除分销记录"`
	sysin.DistributionDeleteInp
}

type DeleteRes struct{}

// StatusReq 更新分销记录状态
type StatusReq struct {
	g.Meta `path:"/distribution/status" method:"post" tags:"分销记录" summary:"更新分销记录状态"`
	sysin.DistributionStatusInp
}

type StatusRes struct{}